<template>
  <div>
    <MyHeader v-bind="pearson"/>
    <h1>每次加2</h1>
    <Count :num='2' :id="'002'"/>
    <h1>每次加3</h1>
    <Count :num='3'/>
    <Update :count="0" :pearson='pearson'/>
  </div>
</template>

<script>
import Count from './components/Count'
import MyHeader from './components/MyHeader'
import Update from './components/Update'
export default {
  name:'App',
  data(){
    return {
      pearson:{
        name:"tianle",
        age:21,
        sex:'男'
      }
    }
  },
  components:{
    Count,
    MyHeader,
    Update
  }
}
</script>

<style>

</style>